package com.ctshk.rpc.custom.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 旅客类型
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-01-13
 */
@Data
@ApiModel(value="TravelDaysReq", description="出行天数")
public class TravelDaysReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "请输入出行天数")
    @ApiModelProperty(value = "出行天数", required = true)
    private Integer days;

    @NotNull(message = "请输入含几晚")
    @ApiModelProperty(value = "含几晚", required = true)
    private Integer nights;

}
